Microsoft Cognitive Language Service - Analyze Text Authoring (stable:2023-04-01)

2025/03/24 • 6 new methods

TextAnalysisAuthoringListProjects (new)
Description Lists the existing projects.
Reference Link ¶

⚼ Request

GET:  /authoring/analyze-text/projects
{
api-version: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
createdDateTime: string ,
lastModifiedDateTime: string ,
lastTrainedDateTime: string ,
lastDeployedDateTime: string ,
projectKind: enum ,
storageInputContainerName: string ,
settings:
{
confidenceThreshold: number ,
}
,
projectName: string ,
multilingual: boolean ,
description: string ,
language: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TextAnalysisAuthoringListDeployments (new)
Description Lists the deployments belonging to a project.
Reference Link ¶

⚼ Request

GET:  /authoring/analyze-text/projects/{projectName}/deployments
{
api-version: string ,
projectName: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
deploymentName: string ,
modelId: string ,
lastTrainedDateTime: string ,
lastDeployedDateTime: string ,
deploymentExpirationDate: string ,
modelTrainingConfigVersion: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TextAnalysisAuthoringListTrainedModels (new)
Description Lists the trained models belonging to a project.
Reference Link ¶

⚼ Request

GET:  /authoring/analyze-text/projects/{projectName}/models
{
api-version: string ,
projectName: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
label: string ,
modelId: string ,
lastTrainedDateTime: string ,
lastTrainingDurationInSeconds: integer ,
modelExpirationDate: string ,
modelTrainingConfigVersion: string ,
hasSnapshot: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TextAnalysisAuthoringListTrainingJobs (new)
Description Lists the non-expired training jobs created for a project.
Reference Link ¶

⚼ Request

GET:  /authoring/analyze-text/projects/{projectName}/train/jobs
{
api-version: string ,
projectName: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
jobId: string ,
createdDateTime: string ,
lastUpdatedDateTime: string ,
expirationDateTime: string ,
status: enum ,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
errors:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
result:
{
modelLabel: string ,
trainingConfigVersion: string ,
trainingStatus:
{
percentComplete: integer ,
startDateTime: string ,
endDateTime: string ,
status: enum ,
}
,
evaluationStatus:
{
percentComplete: integer ,
startDateTime: string ,
endDateTime: string ,
status: enum ,
}
,
estimatedEndDateTime: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TextAnalysisAuthoringGetSupportedLanguages (new)
Description Lists the supported languages.
Reference Link ¶

⚼ Request

GET:  /authoring/analyze-text/projects/global/languages
{
api-version: string ,
projectKind: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
languageName: string ,
languageCode: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TextAnalysisAuthoringListTrainingConfigVersions (new)
Description Lists the support training config version for a given project type.
Reference Link ¶

⚼ Request

GET:  /authoring/analyze-text/projects/global/training-config-versions
{
api-version: string ,
projectKind: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
trainingConfigVersion: string ,
modelExpirationDate: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}